package com.vinfai.patterns.decorator;

public class MyDecorator2 extends Decorator {
	
	public MyDecorator2(Component component){
		super(component);
	}
	
	
	@Override
	public void doOperation(String str) {
		logger.info("增加装饰内容");
		this.getComponent().doOperation(str);
	}

}
